package com.nation.domain;

/**
 * Created by dqd on 2017/11/8.
 */
public class Result<T> {
    private int status;//200状态传输成功 199未登入状态 100没有权限,0 服务器崩溃 ,201 数据为空,202用户名或密码错误
    private T data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
